﻿using System;
using System.Collections.Generic;
using System.Web;

public class Config
{
    private static bool _enableencrypt;
    static Config()
    {
        if (System.Configuration.ConfigurationManager.AppSettings["EnableEncrypt"] != null && System.Configuration.ConfigurationManager.AppSettings["EnableEncrypt"] == "1")
        {
            _enableencrypt = true;

        }
        else
        {
            _enableencrypt = false;
        }
    }

    public static bool EnableEncrypt
    {
        get { return _enableencrypt; }
    }
}
